<template>
  <div>
    <van-nav-bar
  title="咨询动态"
  left-text="返回"
  left-arrow
  @click-left="onClickLeft"
/>
<h1>动态</h1>
  </div>
</template>

<script>
export default {
  methods: {
    onClickLeft () {
      this.$router.push('/mother')
    }
  }
}
</script>

<style scoped>
.van-nav-bar{
  width: 100%;;
  border-bottom: 1px solid grey;
  position: fixed;
  top: 0;
}
h1{
  margin-top: 50px;
  text-align: center;
}
</style>
